import { createStore } from "redux";
import { combineReducers } from "redux";
import userinfo from "./userinfo.js";

const initialState = {};
const rootReducer = combineReducers({
	userinfo
})

export default function configureStore(initialStore){
	const store = createStore(rootReducer, initialStore, 
		window.devToolsExtension ? window.devToolsExtension : undefined)
	return store;
}